
import requests



def sendPos(url,body,header):
    """
        发送 post 请求，提交json 数据
    :param body:
    :param header:
    :param url:
    :return:
    """

    response = requests.post(url,json=body,headers=header)
    content = response.content
    return content



def sendGet(url,header):
    """
        发送post 请求，
    :param url:
    :param header:
    :return:
    """
    response = requests.get(url,headers=header)

    content = response.content

    return content







if __name__ == "__main__":


    base_url = ""

    headers = {
        "": ""
    }


    url_1 = ""























































